package newtec.factory;

import newtec.service.NewtecService;
public class NewtecFactory {
	private static NewtecFactory instance;
	private NewtecService Newtec;
	
	private NewtecFactory(){
		Newtec=new NewtecService();
	}

	public static synchronized NewtecFactory getInstance() {

		if (instance == null) {
			instance = new NewtecFactory();
		}
		return instance;
	}

	public NewtecService creatNewtecService() {
		return Newtec;
	}
}

